<style>
.radius .jy-group {border-radius:0.5rem;margin:0.2rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
</style>
<div class="jy-group">
	<div class="fui-cell-group">
		<div class="fui-cell" style="padding:0.65rem 0.5rem">
			  <div class="fui-cell-label bold" style="width:auto">每日上新 </div>
			  <div class="fui-cell-info"></div>
			  <div class="fui-cell-remark" ng-click="access_json('jy_liangoods/index//order=new&pid=-1')">更多</div>
		 </div>
	</div>
	<div ng-if="pagedata.new_list" class="fui-goods-group block" style="margin:0">
		<div ng-if="pagedata.setting.newvideogoods.length>0" class="fui-cell-scroll" style="height:9.5rem">
			<div ng-repeat="item in pagedata.setting.newvideogoods" class="item">
			<div class="image" style="position: relative;width:12rem;border-radius:0.5rem;">
				<video style="border-radius:0.5rem;width:100%;height:8rem;;object-fit:fill" ng-poster="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" preload="auto">
					  <source ng-src="{{item.video}}" type="video/mp4">					 
				</video>
				<div ng-click="pagedata.gotoitem(item);" class="overflow-h1" style="font-size:0.6rem;padding:0.5rem;padding-top:0;margin-top:-0.2rem;">
					{{item.title}}
				</div>
			</div>
			</div>
		</div>
		<div ng-repeat="item in pagedata.new_list" class="fui-goods-item" ng-if="$index<3" style="width:33.3%;height:auto">
					<div ng-click="pagedata.gotoitem(item);" ng-class="{'image':1, 'echelon':item.active.title}" data-text="{{item.active.title}}" style="height:5.5rem;background-image: url({{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}})">
							<div ng-show="item.total <=0" class="salez" style="background-image: url({{tomedia(pagedata.shopset.shop.saleout)}}); "></div>
					</div>
					<div class="detail" style="height:auto">
						<div ng-click="pagedata.gotoitem(item);" class="name" style="font-size:0.6rem">
							{{item.title}}
						</div>
						<div class="price" style="margin-top:0;font-weight:400">
							<span class="text"><span style="font-size:0.5rem;">￥</span>{{item.active.price || item.price}}</span>
							<span class="syscolorred" ng-click="pagedata.gotopicker(item)"><i class="icon icon-tianmaochaoshigouwuche"></i></span>
						</div>
					</div>
		</div>
	</div>
	<div ng-if="pagedata.newsloading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
</div>
<script>
scope.pagedata.newsloading=true
scope.pagedata.getnewsgoods=function(item){
	scope.get('jy_liangoods/get_data/getnewsgoods/',function(res){
				scope.pagedata.new_list=res.list
				scope.pagedata.newsloading=false
				scope.$evalAsync();
	});
}
scope.pagedata.getnewsgoods();
</script>